<template>
<div class="check-button" :class="{check: isChecked}" >
  <img src="~assets/images/cart/tick.svg" alt="">
</div>
</template>

<script>
export default {
  name: "CheckButton",
  props: {
    isChecked: {
      type: Boolean,
      default: true
    }
  }
}
</script>

<style scoped>
  .check-button{
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 2px solid rgba(0,0,0,.1);
  }
  .check,.all{
    background-color: var(--color-tint)
  }
</style>
